<template>
  <FormItem :label="name" :required="required">
    <slot></slot>
  </FormItem>
</template>

<script>
export default {
  props: ['name', 'required'],
}
</script>

<style lang="less" scoped>
.ivu-form-item {
  width: 100%;
}
</style>
